package com.tiancheng.trade.authserver.dto;


import jakarta.validation.constraints.NotBlank;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

@Getter
@Setter
@Accessors(chain = true)
public class ApplicationAddUpdateDTO {
    private String id;
    @NotBlank(message = "应用程序模块,平台不能为空")
    private String type;
    @NotBlank(message = "应用名称不能为空")
    private String name;
    private String clientId;
    /**
     * 三方应用公钥,可为空
     */
    private String clientPublicKey;
    /**
     * 三方对称密钥
     */
    private String clientSymmetricKey;
    private String clientSecret;
    /**
     * 三方平台公钥
     */
    private String platformPublicKey;
    private String describe;
    /**
     * 应用语言区域
     */
    //private Application.Locale locale;
    /**
     * 图标地址
     */
    private String iconUrl;
    /**
     * 数据权限id
     */
    private String dataPermissionId;
    /**
     * 项目名称
     */
    private String projectName;

    /**
     * git url地址
     */
    private String gitUrl;

    /**
     * 菜单json
     */
    private String menuJson;
}
